package com.amit.hibernate;

import java.util.Date;
import java.util.Set;

public class Customer { 
	int cid;
	String cname;
	String email;
	Date dob;
	Long phone;
	Set<Order> orders;

	public Customer() {
		
	}

	public Customer(String cname, String email, Date dob, Long phone) {
	
		
		this.cname = cname;
		this.email = email;
		this.dob = dob;
		this.phone = phone;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getDob() {
		return dob;
	}

	public void setDob(Date dob) {
		this.dob = dob;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public Set<Order> getOrders() {
		return orders;
	}

	public void setOrders(Set<Order> orders) {
		this.orders = orders;
	}

	




}
